/*
 * jlib.h
 *
 *  Created on: Dec 3, 2010
 *      Author: fify
 */

#ifndef JLIB_H_
#define JLIB_H_

namespace CncrJConfig
{

/*
 * username: User name used to login the juniper router
 * passwd: Password corresponding to the user name
 * host: Host IP address that holds the olive image
 * port: Port number to which the serial port is redirected
 * cmds: A list of configuration commands
 * timeout: The maximum seconds should we wait
 * @retval: 0 indicates a success and -1 indicates a failure
 */
int jconfig(char* username, char* passwd, char* host, int port, char* cmds, int timeout);

}

#endif /* JLIB_H_ */
